package com.millstein.feign;

import com.millstein.util.JsonData;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;

/**
 * @description:
 * @author: tsing
 * @create: 2021-09-20 21:39
 */
@FeignClient(name = "xdclass-order-service", path = "/api/product_order/v1")
public interface OrderFeignService {

    @GetMapping("/get_state/{outTradeNo}")
    JsonData getProductOrderStateByOutTradeNo(@PathVariable("outTradeNo") String outTradeNo);
}
